Page({

  /**
   * 页面的初始数据
   */
  data: {
    list:[
      {
        name: "高等数学",
        url: "../image/7.png",
        bind: "gdsxClick"
      },

      {
        name: "高等代数",
        url: "../image/8.png",
        bind: "gddsClick"
      },

      {
        name: "离散数学",
        url: "../image/9.png",
        bind: "lssxClick"
      },
      {
        name: "大学物理",
        url: "../image/10.png",
        bind: "dxwlClick"
      },

      {
        name: "数据结构",
        url: "../image/11.png",
        bind: "sjjgClick"
      },

      {
        name: "随机数学",
        url: "../image/12.png",
        bind: "sjsxClick"
      },
      {
        name: "优化数学",
        url: "../image/13.png",
        bind: "yhsxClick"
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
    
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
    
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
    
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    
  },

  gddsClick:function(){
    wx.navigateTo({
    url: "../subjects/gdds/gdds",
  })
},
  dxwlClick:function(){
  wx.navigateTo({
  url: "../subjects/dxwl/dxwl",
})
},
  lssxClick:function(){
  wx.navigateTo({
  url: "../subjects/lssx/lssx",
})
},
  sjjgClick:function(){
  wx.navigateTo({
  url: "../subjects/sjjg/sjjg",
})
},
  sjsxClick:function(){
  wx.navigateTo({
  url: "../subjects/sjsx/sjsx",
})
},
  yhsxClick:function(){
  wx.navigateTo({
  url: "../subjects/yhsx/yhsx",
})
},
  gdsxClick:function(){
  wx.navigateTo({
  url: "../subjects/gdsx/gdsx",
})
}
})